home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / util / libs / asyncioppc.readme < prev    next >
Text File  |  2001-07-04  |  4KB  |  137 lines

  1. Short:    Asyncio.library with WarpOS functions (V40.6)
  2. Author:   achimste@gmx.de (Achim Stegemann)
  3. Uploader: achimste@gmx.de (Achim Stegemann)
  4. Version:  40.6
  5. Type:     util/libs
  6.  
  7. What was wrong in the last version ?
  8. The dummy SPrintF-calls must not be removed !! Writing in PPC mode caused
  9. severe mistakes again. See the source code !
  10. Note for developers: If anybody has an ideaa, why the lib locks up, please
  11. email me !
  12.  
  13. Notice:
  14. This archive is EMAIL-WARE !!
  15. ..what da hell is dis ??
  16. Simple... if you use it, simply send me a mail, so I know that
  17. someone is using it !!
  18. There is no copyright on it.
  19.  
  20. Requires:
  21. * MC68020 or PPC-board with WarpOS V4 (powerpc.library 15.0 or better)
  22.  
  23. Introduction:
  24. Many developer among you have used the asyncio.library, even me !
  25. The latest version of that one was V39.2. It is now some years old but
  26. still good for plain M68K Amigas.
  27.  
  28. I decided to continue developing the library for support of PPC-WOS.
  29. I bumped the lib-version to V40.
  30.  
  31.  
  32. Advantage of this enhanced asyncio.library:
  33.  
  34. *  You dont need a PPC to use this library. You can still access all
  35.    V39 functions from a plain 68k-Amiga.
  36.  
  37. The library is split in two parts:
  38. 1. The original V39-M68k functions ! I.e V40 is (of course)
  39.    100% compatible to V39 !
  40. 2. The V40 part contains all V39 functions but converted to WarpOS.
  41.    The functions have simply a "PPC" added to the name, e.g
  42.    OpenAsync (M68K) goes OpenAsyncPPC.
  43.  
  44.  
  45. Contents of the archive:
  46. The archive contains the FULL SOURCE code for StormC 3.0.
  47. You can use as a tutorial or whatever.
  48. I simply have taken the source from original V39 source and
  49. made the WOS port. That's all.
  50.  
  51. Also provided are include files for StormC and VBCC !
  52.  
  53.  
  54. Developer information.. How to use it ?
  55.  
  56. The big advantage of asyncio_ppc is, that you can access a file from
  57. both CPU sides !!
  58. Example:
  59. * Open a file in 68k mode
  60. * Read datas in PPC mode
  61. * Close the file in 68k mode
  62. or whatever you like !!
  63.  
  64.  
  65. Usage of functions:
  66. It is important, that you must only use the M68k (V39) functions from
  67. the 68k side and you must only use the PPC-funtions (V40) from the PPC side.
  68. Example:
  69. M68k: file=OpenAsync("test",MODE_READ,8192);
  70. PPC:  ReadAsyncPPC(file,buf,1000);
  71. M68k: ReadAsync(file,buf,1000);
  72. M68k: CloseAsync(file);
  73. This one would be wrong:
  74. PPC:  WriteAsync(file,buf,len);
  75. or
  76. M68K: CloseAsyncPPC(file);
  77.  
  78. Understood ? Simple...
  79. So don't mix up the functions !!
  80.  
  81. Note: It is important that you use several kBytes of buffer space, to avoid
  82. CPU switches ! The larger the buffer, the less switches !!
  83. I recommend using buffer between 16 kB and 64 kB.
  84. Larger buffers usually dont enhance speed anymore.
  85.  
  86.  
  87. Using asyncio V40 will give you no improvement, if you only use the
  88. V39 functions !!
  89.  
  90.  
  91. Tests:
  92. The asyncio.library has been successfully tested with the
  93. following programs:
  94. * Digital Almanac II
  95. * Digital Almanac III
  96. * AmigaAMP
  97. * AMPlifier
  98. * CyberQT
  99. * CyberAVI
  100. * ACTION (from OS 3.9)
  101.  
  102. Enhance your application NOW !!
  103. Feel free to use asyncio V40 as you like !!
  104.  
  105. Credits:
  106. * Sven Ottemann for StormC linker libs and bugfix.
  107. * Oliver Roberts for VBCC includes.
  108.  
  109. Internet: http://soft-ware.de/dalmanac
  110.  
  111.  
  112. ============================= Archive contents =============================
  113.  
  114. Original  Packed Ratio    Date     Time    Name
  115. -------- ------- ----- --------- --------  -------------
  116.     3127    1586 49.2% 19-Jun-01 21:59:18 +asyncioppc.readme
  117.     3812     782 79.4% 23-Oct-00 13:59:44 +asyncio_protos.h
  118.     2752     490 82.1% 01-Jun-01 00:39:12 +asyncio000.lib
  119.     5900     768 86.9% 01-Jun-01 00:39:12 +asyncio603.lib
  120.     1142     602 47.2% 23-Oct-00 13:59:44 +asyncio.h
  121.     1699     410 75.8% 23-Oct-00 13:59:44 +asyncio_lib.h
  122.     2121     488 76.9% 19-Jan-01 15:42:16 +asyncio_protos.h
  123.     2537     482 81.0% 19-Jan-01 18:12:28 +asyncio_protos.h
  124.     1142     602 47.2% 01-Jun-01 00:28:04 +asyncio.h
  125.      183     126 31.1% 19-Jan-01 16:07:42 +asyncio.h
  126.    15884    6893 56.6% 19-Jun-01 21:56:58 +asyncio.library
  127.    12948    3118 75.9% 19-Jun-01 21:56:10 +async.c
  128.      681     367 46.1% 19-Jun-01 21:56:10 +async.h
  129.      806     277 65.6% 01-Jun-01 00:25:00 +asyncio.fd
  130.     1700     410 75.8% 19-Jun-01 21:56:10 +asyncio_lib.h
  131.    13098    3414 73.9% 19-Jun-01 21:59:56 +async_ppc.c
  132.      211     144 31.7% 19-Jun-01 21:56:10 +Lib.c
  133.     1034     442 57.2% 19-Jun-01 21:56:10 +ppcasyncio.¶
  134.     1862     612 67.1% 19-Jun-01 21:56:10 +ppcasyncio_ppc.¶
  135. -------- ------- ----- --------- --------
  136.    72639   22013 69.6% 23-Jun-101 01:52:44   19 files
  137.